<!DOCTYPE html>
<html lang="en">
<head>
<title>WebView4Delphi: uWVCoreWebView2Args: Class TCoreWebView2LaunchingExternalUriSchemeEventArgs</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.16.0-snapshot">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<span id="TCoreWebView2LaunchingExternalUriSchemeEventArgs"></span><h1 class="cio">Class TCoreWebView2LaunchingExternalUriSchemeEventArgs</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section"><a class="section" href="#PasDoc-Fields">Fields</a></div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section"><a class="section" href="#PasDoc-Properties">Properties</a></div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="uWVCoreWebView2Args.html">uWVCoreWebView2Args</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TCoreWebView2LaunchingExternalUriSchemeEventArgs = class(TObject)</code></p>
<h2 class="description">Description</h2>
<p>
 Event args for LaunchingExternalUriScheme event. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2launchingexternalurischemeeventargs">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2launchingexternalurischemeeventargs</a>&quot;&gt;See the ICoreWebView2LaunchingExternalUriSchemeEventArgs article.)</p>
<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="thisitem">TCoreWebView2LaunchingExternalUriSchemeEventArgs</li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Fields"></span><h3 class="summary">Fields</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#FBaseIntf">FBaseIntf</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2LaunchingExternalUriSchemeEventArgs.html">ICoreWebView2LaunchingExternalUriSchemeEventArgs</a>;</code></td>
</tr>
</table>
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetInitialized">GetInitialized</a></strong>: boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetUri">GetUri</a></strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetInitiatingOrigin">GetInitiatingOrigin</a></strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetIsUserInitiated">GetIsUserInitiated</a></strong>: boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetCancel">GetCancel</a></strong>: boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetDeferral">GetDeferral</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2Deferral.html">ICoreWebView2Deferral</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#SetCancel-boolean-">SetCancel</a></strong>(aValue : boolean);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#Create-ICoreWebView2LaunchingExternalUriSchemeEventArgs-">Create</a></strong>(const aArgs: <a href="uWVTypeLibrary.ICoreWebView2LaunchingExternalUriSchemeEventArgs.html">ICoreWebView2LaunchingExternalUriSchemeEventArgs</a>); reintroduce;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#Destroy">Destroy</a></strong>; override;</code></td>
</tr>
</table>
<span id="PasDoc-Properties"></span><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#Initialized">Initialized</a></strong>                   : boolean                                           read <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetInitialized">GetInitialized</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#BaseIntf">BaseIntf</a></strong>                      : <a href="uWVTypeLibrary.ICoreWebView2LaunchingExternalUriSchemeEventArgs.html">ICoreWebView2LaunchingExternalUriSchemeEventArgs</a>  read <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#FBaseIntf">FBaseIntf</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#Uri">Uri</a></strong>                           : <a href="uWVTypes.html#wvstring">wvstring</a>                                          read <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetUri">GetUri</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#InitiatingOrigin">InitiatingOrigin</a></strong>              : <a href="uWVTypes.html#wvstring">wvstring</a>                                          read <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetInitiatingOrigin">GetInitiatingOrigin</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#IsUserInitiated">IsUserInitiated</a></strong>               : boolean                                           read <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetIsUserInitiated">GetIsUserInitiated</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#Cancel">Cancel</a></strong>                        : boolean                                           read <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetCancel">GetCancel</a>             write <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#SetCancel-boolean-">SetCancel</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#Deferral">Deferral</a></strong>                      : <a href="uWVTypeLibrary.ICoreWebView2Deferral.html">ICoreWebView2Deferral</a>                             read <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetDeferral">GetDeferral</a>;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Fields</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf"></span><code><strong>FBaseIntf</strong>: <a href="uWVTypeLibrary.ICoreWebView2LaunchingExternalUriSchemeEventArgs.html">ICoreWebView2LaunchingExternalUriSchemeEventArgs</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetInitialized"></span><code>function <strong>GetInitialized</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetUri"></span><code>function <strong>GetUri</strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetInitiatingOrigin"></span><code>function <strong>GetInitiatingOrigin</strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetIsUserInitiated"></span><code>function <strong>GetIsUserInitiated</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetCancel"></span><code>function <strong>GetCancel</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetDeferral"></span><code>function <strong>GetDeferral</strong>: <a href="uWVTypeLibrary.ICoreWebView2Deferral.html">ICoreWebView2Deferral</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="SetCancel-boolean-"></span><code>procedure <strong>SetCancel</strong>(aValue : boolean);</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Create-ICoreWebView2LaunchingExternalUriSchemeEventArgs-"></span><code>constructor <strong>Create</strong>(const aArgs: <a href="uWVTypeLibrary.ICoreWebView2LaunchingExternalUriSchemeEventArgs.html">ICoreWebView2LaunchingExternalUriSchemeEventArgs</a>); reintroduce;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Destroy"></span><code>destructor <strong>Destroy</strong>; override;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Initialized"></span><code>property <strong>Initialized</strong>                   : boolean                                           read <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetInitialized">GetInitialized</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns true when the interface implemented by this class is fully initialized. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="BaseIntf"></span><code>property <strong>BaseIntf</strong>                      : <a href="uWVTypeLibrary.ICoreWebView2LaunchingExternalUriSchemeEventArgs.html">ICoreWebView2LaunchingExternalUriSchemeEventArgs</a>  read <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#FBaseIntf">FBaseIntf</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns the interface implemented by this class. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Uri"></span><code>property <strong>Uri</strong>                           : <a href="uWVTypes.html#wvstring">wvstring</a>                                          read <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetUri">GetUri</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The URI with the external URI scheme to be launched. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2launchingexternalurischemeeventargs#get_uri">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2launchingexternalurischemeeventargs#get_uri</a>&quot;&gt;See the ICoreWebView2LaunchingExternalUriSchemeEventArgs article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="InitiatingOrigin"></span><code>property <strong>InitiatingOrigin</strong>              : <a href="uWVTypes.html#wvstring">wvstring</a>                                          read <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetInitiatingOrigin">GetInitiatingOrigin</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>


<p>The origin initiating the external URI scheme launch.

<p>The origin will be an empty string if the request is initiated by calling `CoreWebView2.Navigate` on the external URI scheme. If a script initiates the navigation, the `InitiatingOrigin` will be the top-level document's `Source`, for example, if `window.location` is set to `&quot;<a href="calculator://">calculator://</a>&quot;`, the `InitiatingOrigin` will be set to `<a href="calculator://">calculator://</a>`. If the request is initiated from a child frame, the `InitiatingOrigin` will be the source of that child frame.

<p>If the `InitiatingOrigin` is [opaque](<a href="https://html.spec.whatwg.org/multipage/origin.html#concept-origin-opaque">https://html.spec.whatwg.org/multipage/origin.html#concept-origin-opaque</a>), the `InitiatingOrigin` reported in the event args will be its precursor origin. The precursor origin is the origin that created the opaque origin. For example, if a frame on example.com opens a subframe with a different opaque origin, the subframe's precursor origin is example.com.

<p></p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2launchingexternalurischemeeventargs#get_initiatingorigin">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2launchingexternalurischemeeventargs#get_initiatingorigin</a>&quot;&gt;See the ICoreWebView2LaunchingExternalUriSchemeEventArgs article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="IsUserInitiated"></span><code>property <strong>IsUserInitiated</strong>               : boolean                                           read <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetIsUserInitiated">GetIsUserInitiated</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>


<p>`TRUE` when the external URI scheme request was initiated through a user gesture.

<p>\&gt;NOTE: Being initiated through a user gesture does not mean that user intended to access the associated resource.

<p></p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2launchingexternalurischemeeventargs#get_isuserinitiated">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2launchingexternalurischemeeventargs#get_isuserinitiated</a>&quot;&gt;See the ICoreWebView2LaunchingExternalUriSchemeEventArgs article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Cancel"></span><code>property <strong>Cancel</strong>                        : boolean                                           read <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetCancel">GetCancel</a>             write <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#SetCancel-boolean-">SetCancel</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>


<p>The event handler may set this property to `TRUE` to cancel the external URI scheme launch. If set to `TRUE`, the external URI scheme will not be launched, and the default dialog is not displayed. This property can be used to replace the normal handling of launching an external URI scheme.

<p>The initial value of the `Cancel` property is `FALSE`.

<p></p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2launchingexternalurischemeeventargs#get_cancel">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2launchingexternalurischemeeventargs#get_cancel</a>&quot;&gt;See the ICoreWebView2LaunchingExternalUriSchemeEventArgs article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Deferral"></span><code>property <strong>Deferral</strong>                      : <a href="uWVTypeLibrary.ICoreWebView2Deferral.html">ICoreWebView2Deferral</a>                             read <a href="uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html#GetDeferral">GetDeferral</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns an `ICoreWebView2Deferral` object. Use this operation to complete the event at a later time. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2launchingexternalurischemeeventargs#getdeferral">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2launchingexternalurischemeeventargs#getdeferral</a>&quot;&gt;See the ICoreWebView2LaunchingExternalUriSchemeEventArgs article.)</p>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0-snapshot</a>. </em>
</span>
</body></html>
